export interface ProductOrder {
    id: string;
    orderNo: string;
    memberId: string;
    memberName: string;
    memberPhone: string;
    productId: string;
    productName: string;
    productImage: string;
    productSpec: string;
    productPrice: number;
    quantity: number;
    totalAmount: number;
    discountAmount: number;
    payAmount: number;
    orderStatus: number;
    orderStatusName: string;
    paymentStatus: number;
    paymentStatusName: string;
    paymentMethod: number;
    paymentMethodName: string;
    paymentTime: string;
    paymentNo: string;
    receiverName: string;
    receiverPhone: string;
    receiverAddress: string;
    receiverAddressDetail: string;
    postalCode: string;
    logisticsCompany: string;
    trackingNumber: string;
    shipTime: string;
    deliveryTime: string;
    completeTime: string;
    cancelTime: string;
    cancelReason: string;
    refundTime: string;
    refundReason: string;
    refundAmount: number;
    orderRemark: string;
    language: string;
    createTime: string;
    updateTime: string;
}

export interface ProductOrderQueryParams {
    current?: number;
    size?: number;
    orderNo?: string;
    memberName?: string;
    memberPhone?: string;
    orderStatus?: number;
    paymentStatus?: number;
    startTime?: string;
    endTime?: string;
    language?: string;
}

export interface ProductOrderPageResponse {
    records: ProductOrder[];
    total: number;
    current: number;
    size: number;
    pages: number;
}
